package com.xbongbong.pro.product.pojo.dto;

import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.saas.domain.entity.ext.FormatRelativeProductEntityExt;
import com.xbongbong.sys.domain.entity.UserEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Map;

/**
 * 格式化关联产品产品的DTO
 * @author lcx
 * @date 2019/3/1 22:12
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class FormatRelativeProductDTO extends BaseDTO {
    private static final long serialVersionUID = 9186338840140352188L;

    /**
     * 业务类型
     */
    private Integer businessType;

    private Integer targetBusinessType;

    /**
     * 用户实体
     */
    private UserEntity userEntity;

    /**
     * 产品实体扩展类
     */
    private FormatRelativeProductEntityExt formatRelativeProductEntityExt;

    /**
     * 产品和库存产品（系统字段）字段解释map
     */
    private Map<String, FieldAttrEntity> nowProductExplainMap;

    /**
     * 库存产品（自定义）字段解释map
     */
    private Map<String, FieldAttrEntity> nowStockProductExplainMap;

    /**
     * 是否是从获取默认值这里带过来的，1是
     */
    private Integer fromDefault;

}
